﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SysSetDetail.aspx.cs" Inherits="Manage_basisset_SysSetDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
   <title>系统设置详细</title>
  <link rel="stylesheet" type="text/css" href="../skin/css/base.css" />
<style type="text/css">
    .cinputedit
    {
    	 border:solid 1px green;
    }
    .cinput
    {
    	border:none;
    }
</style>
</head>
<body leftmargin="8" topmargin="8" background='../skin/images/allbg.gif'>
    <form id="form1" runat="server">
     <asp:ScriptManager ID="ScriptManager1" runat="server"  EnableScriptGlobalization="True" EnableScriptLocalization="True">
        </asp:ScriptManager>
   <!--  快速转换位置按钮  -->
    <table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D1DDAA" align="center">
    <tr>
     <td height="26" background="../skin/images/newlinebg3.gif">
      <table width="98%" border="0" cellspacing="0" cellpadding="0">
      <tr>
       <td align="center"><span style="font-size:14px; font-weight:bold">系统参数设置详细信息</span></td>
       <td  align="right"  style="width:60px">
                        <asp:Button ID="btnreturn" class="coolbg_add" runat="server" Text="返回列表" 
                                onclick="btnreturn_Click"/>
                        </td>
     </tr>
    </table>
    </td>
    </tr>
    </table>
     <asp:UpdatePanel ID="up1" runat="server" >
    <ContentTemplate>
    <!--  内容列表   -->
    <div id="form2">
  
    <table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
  
    <tr bgcolor="#E7E7E7" style="border-bottom:none">
	    <td height="24" colspan="4" background="../skin/images/tbg.gif">&nbsp;系统参数设置列表&nbsp;&nbsp;
                    
                        </td>
    </tr>
     
    <tr style="background-color:#ffffff">
    <td >
          <asp:GridView ID="GridView1" runat="server" Width="100%" CellPadding="4" BorderColor="#D1DDAA"  
                            AutoGenerateColumns="False"   OnRowCancelingEdit="GridView1_RowCancelingEdit"
                            OnRowEditing="GridView1_RowEditing" 
              OnRowUpdating="GridView1_RowUpdating" 
                            DataKeyNames="SysSetDetailId"  DataMember="Code" SelectedIndex="0" 
              OnRowDataBound="GridView1_RowDataBound" GridLines="Both" 
              AllowPaging="False" PageIndex="1" >
                            <Columns>
                                  <asp:TemplateField HeaderText="设置项编号" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblCode" runat="server" Text='<%# Eval("Code") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="参数1" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblValue1" runat="server" Text='<%# Eval("Value1") %>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="txtValue1" Text='<%# Eval("Value1") %>' Width="100px"  runat="server"  />
                                        <asp:HiddenField ID="hdfSysSetId" Value='<%#Eval("SysSetId") %>' runat="server" />
                                    </EditItemTemplate> 
                                </asp:TemplateField>
                                 <asp:TemplateField HeaderText="参数2" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblValue2" runat="server" Text='<%# Eval("Value2") %>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="txtValue2" Text='<%# Eval("Value2") %>' Width="100px"  runat="server"  />
                                       
                                    </EditItemTemplate> 
                                </asp:TemplateField>
                                 <asp:TemplateField HeaderText="参数3" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblValue3" runat="server" Text='<%# Eval("Value3") %>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="txtValue3" Text='<%# Eval("Value3") %>'  Width="100px" runat="server"  />
                                       
                                    </EditItemTemplate> 
                                </asp:TemplateField>
                                 <asp:TemplateField HeaderText="参数4" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblValue4" runat="server" Text='<%# Eval("Value4") %>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="txtValue4" Text='<%# Eval("Value4") %>' Width="100px" runat="server"  />
                                       
                                    </EditItemTemplate> 
                                </asp:TemplateField>
                                  <asp:TemplateField HeaderText="参数5" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblValue5" runat="server" Text='<%# Eval("Value5") %>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="txtValue5" Text='<%# Eval("Value5") %>' Width="100px"  runat="server"  />
                                       
                                    </EditItemTemplate> 
                                </asp:TemplateField>
                                 <asp:TemplateField HeaderText="注释信息" >
                                    <ItemTemplate>
                                        <asp:Label ID="lblremark" runat="server" Text='<%# Eval("Remark") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                 <asp:CommandField   HeaderText="操作" ItemStyle-HorizontalAlign="Center" />
                            </Columns>
                            <PagerSettings FirstPageText="" LastPageText="" NextPageText="" PreviousPageText="" />
                            <RowStyle Height="20px" BackColor="#FFFFFF"  ForeColor="#000000" />
                            <FooterStyle BackColor="#FFFFFF" Font-Bold="True" ForeColor="White" />
                            <EditRowStyle BackColor="#FCFDEE" />
                            <SelectedRowStyle BackColor="#FFFFFF"  ForeColor="#000000" />
                            <PagerStyle BackColor="#FCFDEE" ForeColor="White" HorizontalAlign="Center" />
                            <HeaderStyle BackColor="#FCFDEE"  ForeColor="000000" />
                            <AlternatingRowStyle BackColor="#FCFDEE" ForeColor="#000000" />
                            
                        </asp:GridView>
   </td>
   </tr>
   
    </table>
     
  </div>
  </ContentTemplate>
   
    </asp:UpdatePanel>
    </form>
</body>
</html>
